"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
// 列表数据
var operatorList = (0, vue_1.ref)([
    {
        index: 1,
        name: '李四',
        gender: '男',
        idCard: '413028197836941236',
        position: '总经理',
        phone: '17936453214',
        account: '11117483347',
        password: '7483347',
        permissions: {
            systemInit: ['期初建账', '产品库存'],
            cashier: ['新建政策', '新增收款单', '新增销售单', '当日订单', '换货单', '退货单'],
            dataStats: false,
            salon: [],
            product: ['品牌管理', '新增产品', '库存管理', '入库单', '新增盘点', '报损报溢'],
            factory: false,
            warehouse: true,
            miniProgram: [],
            goods: []
        }
    },
    {
        index: 2,
        name: '李丽丽',
        gender: '女',
        idCard: '413028197836941236',
        position: '文员',
        phone: '17936453214',
        account: '32457483347',
        password: '7483347',
        permissions: {
            systemInit: [],
            cashier: [],
            dataStats: false,
            salon: [],
            product: [],
            factory: false,
            warehouse: true,
            miniProgram: ['门店账号', '店铺装修', '直播管理', '宣传素材', '申请记录'],
            goods: []
        }
    }
]);
// 表单数据
var form = (0, vue_1.reactive)({
    name: '',
    gender: '女',
    idCard: '',
    position: '总经理',
    phone: '',
    account: '',
    password: '',
    permissions: {
        systemInit: [],
        cashier: [],
        dataStats: false,
        salon: [],
        product: [],
        factory: false,
        warehouse: false,
        miniProgram: [],
        goods: []
    }
});
// 对话框控制
var isEditDialog = (0, vue_1.ref)(false);
// 打开新增对话框
var openAddDialog = function () {
    resetForm();
    isEditDialog.value = true;
};
// 打开编辑对话框
var openEditDialog = function (row) {
    // 深拷贝数据，避免直接修改原数据
    form.name = row.name;
    form.gender = row.gender;
    form.idCard = row.idCard;
    form.position = row.position;
    form.phone = row.phone;
    form.account = row.account;
    form.password = row.password;
    form.permissions = JSON.parse(JSON.stringify(row.permissions));
    isEditDialog.value = true;
};
// 重置表单
var resetForm = function () {
    form.name = '';
    form.gender = '女';
    form.idCard = '';
    form.position = '总经理';
    form.phone = '';
    form.account = '';
    form.password = '';
    form.permissions = {
        systemInit: [],
        cashier: [],
        dataStats: false,
        salon: [],
        product: [],
        factory: false,
        warehouse: false,
        miniProgram: [],
        goods: []
    };
};
// 提交表单
var submitForm = function () {
    var _a;
    if (!form.name || !form.idCard || !form.phone || !form.account || !form.password) {
        return ElMessage.warning('请填写完整信息');
    }
    var newRow = {
        index: operatorList.value.length + 1,
        name: form.name,
        gender: form.gender,
        idCard: form.idCard,
        position: form.position,
        phone: form.phone,
        account: form.account,
        password: form.password,
        permissions: JSON.parse(JSON.stringify(form.permissions))
    };
    if (form.account === ((_a = operatorList.value.find(function (item) { return item.account === form.account; })) === null || _a === void 0 ? void 0 : _a.account)) {
        // 编辑
        var index = operatorList.value.findIndex(function (item) { return item.account === form.account; });
        operatorList.value.splice(index, 1, newRow);
    }
    else {
        // 新增
        operatorList.value.push(newRow);
    }
    isEditDialog.value = false;
    ElMessage.success('操作成功');
};
// 删除操作
var handleDelete = function (row) {
    ElMessageBox.confirm('确定删除该操作员吗？', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
    }).then(function () {
        var index = operatorList.value.findIndex(function (item) { return item.account === row.account; });
        operatorList.value.splice(index, 1);
        ElMessage.success('删除成功');
    }).catch(function () { });
};
// 格式化权限显示
var formatPermissions = function (permissions) {
    var permissionArr = [];
    for (var key in permissions) {
        if (key === 'systemInit' && permissions[key].length) {
            permissionArr.push('系统期初');
        }
        else if (key === 'cashier' && permissions[key].length) {
            permissionArr.push('收银操作');
        }
        else if (key === 'dataStats' && permissions[key]) {
            permissionArr.push('数据统计');
        }
        else if (key === 'salon' && permissions[key].length) {
            permissionArr.push('美容院管理');
        }
        else if (key === 'product' && permissions[key].length) {
            permissionArr.push('产品管理');
        }
        else if (key === 'factory' && permissions[key]) {
            permissionArr.push('工厂管理');
        }
        else if (key === 'warehouse' && permissions[key]) {
            permissionArr.push('仓库管理');
        }
        else if (key === 'miniProgram' && permissions[key].length) {
            permissionArr.push('小程序管理');
        }
        else if (key === 'goods' && permissions[key].length) {
            permissionArr.push('商品管理');
        }
    }
    return permissionArr.join('，');
};
// 返回操作
var handleReturn = function () {
    // 可根据实际需求添加返回逻辑
    ElMessage.info('返回');
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "operator-management" }));
var __VLS_0 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
    modelValue: (__VLS_ctx.isEditDialog),
    title: "操作员管理 增改",
    width: "800px",
}));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.isEditDialog),
        title: "操作员管理 增改",
        width: "800px",
    }], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4 = __VLS_3.slots.default;
// @ts-ignore
[isEditDialog,];
var __VLS_5 = {}.ElForm;
/** @type {[typeof __VLS_components.ElForm, typeof __VLS_components.elForm, typeof __VLS_components.ElForm, typeof __VLS_components.elForm, ]} */ ;
// @ts-ignore
ElForm;
// @ts-ignore
var __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5(__assign({ class: "edit-form" }, { labelWidth: "100px" })));
var __VLS_7 = __VLS_6.apply(void 0, __spreadArray([__assign({ class: "edit-form" }, { labelWidth: "100px" })], __VLS_functionalComponentArgsRest(__VLS_6), false));
var __VLS_9 = __VLS_8.slots.default;
var __VLS_10 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_11 = __VLS_asFunctionalComponent(__VLS_10, new __VLS_10({
    gutter: (20),
}));
var __VLS_12 = __VLS_11.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_11), false));
var __VLS_14 = __VLS_13.slots.default;
var __VLS_15 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15({
    span: (12),
}));
var __VLS_17 = __VLS_16.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_16), false));
var __VLS_19 = __VLS_18.slots.default;
var __VLS_20 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_21 = __VLS_asFunctionalComponent(__VLS_20, new __VLS_20({
    label: "姓名",
}));
var __VLS_22 = __VLS_21.apply(void 0, __spreadArray([{
        label: "姓名",
    }], __VLS_functionalComponentArgsRest(__VLS_21), false));
var __VLS_24 = __VLS_23.slots.default;
var __VLS_25 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_26 = __VLS_asFunctionalComponent(__VLS_25, new __VLS_25({
    modelValue: (__VLS_ctx.form.name),
    placeholder: "请输入姓名",
}));
var __VLS_27 = __VLS_26.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.name),
        placeholder: "请输入姓名",
    }], __VLS_functionalComponentArgsRest(__VLS_26), false));
// @ts-ignore
[form,];
var __VLS_23;
var __VLS_30 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30({
    label: "性别",
}));
var __VLS_32 = __VLS_31.apply(void 0, __spreadArray([{
        label: "性别",
    }], __VLS_functionalComponentArgsRest(__VLS_31), false));
var __VLS_34 = __VLS_33.slots.default;
var __VLS_35 = {}.ElRadioGroup;
/** @type {[typeof __VLS_components.ElRadioGroup, typeof __VLS_components.elRadioGroup, typeof __VLS_components.ElRadioGroup, typeof __VLS_components.elRadioGroup, ]} */ ;
// @ts-ignore
ElRadioGroup;
// @ts-ignore
var __VLS_36 = __VLS_asFunctionalComponent(__VLS_35, new __VLS_35({
    modelValue: (__VLS_ctx.form.gender),
}));
var __VLS_37 = __VLS_36.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.gender),
    }], __VLS_functionalComponentArgsRest(__VLS_36), false));
var __VLS_39 = __VLS_38.slots.default;
// @ts-ignore
[form,];
var __VLS_40 = {}.ElRadio;
/** @type {[typeof __VLS_components.ElRadio, typeof __VLS_components.elRadio, typeof __VLS_components.ElRadio, typeof __VLS_components.elRadio, ]} */ ;
// @ts-ignore
ElRadio;
// @ts-ignore
var __VLS_41 = __VLS_asFunctionalComponent(__VLS_40, new __VLS_40({
    label: "男",
}));
var __VLS_42 = __VLS_41.apply(void 0, __spreadArray([{
        label: "男",
    }], __VLS_functionalComponentArgsRest(__VLS_41), false));
var __VLS_44 = __VLS_43.slots.default;
var __VLS_43;
var __VLS_45 = {}.ElRadio;
/** @type {[typeof __VLS_components.ElRadio, typeof __VLS_components.elRadio, typeof __VLS_components.ElRadio, typeof __VLS_components.elRadio, ]} */ ;
// @ts-ignore
ElRadio;
// @ts-ignore
var __VLS_46 = __VLS_asFunctionalComponent(__VLS_45, new __VLS_45({
    label: "女",
}));
var __VLS_47 = __VLS_46.apply(void 0, __spreadArray([{
        label: "女",
    }], __VLS_functionalComponentArgsRest(__VLS_46), false));
var __VLS_49 = __VLS_48.slots.default;
var __VLS_48;
var __VLS_38;
var __VLS_33;
var __VLS_50 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_51 = __VLS_asFunctionalComponent(__VLS_50, new __VLS_50({
    label: "账号",
}));
var __VLS_52 = __VLS_51.apply(void 0, __spreadArray([{
        label: "账号",
    }], __VLS_functionalComponentArgsRest(__VLS_51), false));
var __VLS_54 = __VLS_53.slots.default;
var __VLS_55 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_56 = __VLS_asFunctionalComponent(__VLS_55, new __VLS_55({
    modelValue: (__VLS_ctx.form.account),
    placeholder: "请输入账号",
}));
var __VLS_57 = __VLS_56.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.account),
        placeholder: "请输入账号",
    }], __VLS_functionalComponentArgsRest(__VLS_56), false));
// @ts-ignore
[form,];
var __VLS_53;
var __VLS_60 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_61 = __VLS_asFunctionalComponent(__VLS_60, new __VLS_60({
    label: "选择职务",
}));
var __VLS_62 = __VLS_61.apply(void 0, __spreadArray([{
        label: "选择职务",
    }], __VLS_functionalComponentArgsRest(__VLS_61), false));
var __VLS_64 = __VLS_63.slots.default;
var __VLS_65 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_66 = __VLS_asFunctionalComponent(__VLS_65, new __VLS_65({
    modelValue: (__VLS_ctx.form.position),
    placeholder: "请选择职务",
}));
var __VLS_67 = __VLS_66.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.position),
        placeholder: "请选择职务",
    }], __VLS_functionalComponentArgsRest(__VLS_66), false));
var __VLS_69 = __VLS_68.slots.default;
// @ts-ignore
[form,];
var __VLS_70 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_71 = __VLS_asFunctionalComponent(__VLS_70, new __VLS_70({
    label: "总经理",
    value: "总经理",
}));
var __VLS_72 = __VLS_71.apply(void 0, __spreadArray([{
        label: "总经理",
        value: "总经理",
    }], __VLS_functionalComponentArgsRest(__VLS_71), false));
var __VLS_75 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_76 = __VLS_asFunctionalComponent(__VLS_75, new __VLS_75({
    label: "文员",
    value: "文员",
}));
var __VLS_77 = __VLS_76.apply(void 0, __spreadArray([{
        label: "文员",
        value: "文员",
    }], __VLS_functionalComponentArgsRest(__VLS_76), false));
var __VLS_68;
var __VLS_63;
var __VLS_18;
var __VLS_80 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_81 = __VLS_asFunctionalComponent(__VLS_80, new __VLS_80({
    span: (12),
}));
var __VLS_82 = __VLS_81.apply(void 0, __spreadArray([{
        span: (12),
    }], __VLS_functionalComponentArgsRest(__VLS_81), false));
var __VLS_84 = __VLS_83.slots.default;
var __VLS_85 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_86 = __VLS_asFunctionalComponent(__VLS_85, new __VLS_85({
    label: "身份证号",
}));
var __VLS_87 = __VLS_86.apply(void 0, __spreadArray([{
        label: "身份证号",
    }], __VLS_functionalComponentArgsRest(__VLS_86), false));
var __VLS_89 = __VLS_88.slots.default;
var __VLS_90 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_91 = __VLS_asFunctionalComponent(__VLS_90, new __VLS_90({
    modelValue: (__VLS_ctx.form.idCard),
    placeholder: "请输入身份证号",
}));
var __VLS_92 = __VLS_91.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.idCard),
        placeholder: "请输入身份证号",
    }], __VLS_functionalComponentArgsRest(__VLS_91), false));
// @ts-ignore
[form,];
var __VLS_88;
var __VLS_95 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_96 = __VLS_asFunctionalComponent(__VLS_95, new __VLS_95({
    label: "手机号",
}));
var __VLS_97 = __VLS_96.apply(void 0, __spreadArray([{
        label: "手机号",
    }], __VLS_functionalComponentArgsRest(__VLS_96), false));
var __VLS_99 = __VLS_98.slots.default;
var __VLS_100 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_101 = __VLS_asFunctionalComponent(__VLS_100, new __VLS_100({
    modelValue: (__VLS_ctx.form.phone),
    placeholder: "请输入手机号",
}));
var __VLS_102 = __VLS_101.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.phone),
        placeholder: "请输入手机号",
    }], __VLS_functionalComponentArgsRest(__VLS_101), false));
// @ts-ignore
[form,];
var __VLS_98;
var __VLS_105 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_106 = __VLS_asFunctionalComponent(__VLS_105, new __VLS_105({
    label: "密码",
}));
var __VLS_107 = __VLS_106.apply(void 0, __spreadArray([{
        label: "密码",
    }], __VLS_functionalComponentArgsRest(__VLS_106), false));
var __VLS_109 = __VLS_108.slots.default;
var __VLS_110 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_111 = __VLS_asFunctionalComponent(__VLS_110, new __VLS_110({
    modelValue: (__VLS_ctx.form.password),
    placeholder: "请输入密码",
}));
var __VLS_112 = __VLS_111.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.password),
        placeholder: "请输入密码",
    }], __VLS_functionalComponentArgsRest(__VLS_111), false));
// @ts-ignore
[form,];
var __VLS_108;
var __VLS_83;
var __VLS_13;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "permission-group" }));
var __VLS_115 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_116 = __VLS_asFunctionalComponent(__VLS_115, new __VLS_115({
    label: "系统期初",
}));
var __VLS_117 = __VLS_116.apply(void 0, __spreadArray([{
        label: "系统期初",
    }], __VLS_functionalComponentArgsRest(__VLS_116), false));
var __VLS_119 = __VLS_118.slots.default;
var __VLS_120 = {}.ElCheckboxGroup;
/** @type {[typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, ]} */ ;
// @ts-ignore
ElCheckboxGroup;
// @ts-ignore
var __VLS_121 = __VLS_asFunctionalComponent(__VLS_120, new __VLS_120({
    modelValue: (__VLS_ctx.form.permissions.systemInit),
}));
var __VLS_122 = __VLS_121.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.systemInit),
    }], __VLS_functionalComponentArgsRest(__VLS_121), false));
var __VLS_124 = __VLS_123.slots.default;
// @ts-ignore
[form,];
var __VLS_125 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_126 = __VLS_asFunctionalComponent(__VLS_125, new __VLS_125({
    label: "期初建账",
}));
var __VLS_127 = __VLS_126.apply(void 0, __spreadArray([{
        label: "期初建账",
    }], __VLS_functionalComponentArgsRest(__VLS_126), false));
var __VLS_129 = __VLS_128.slots.default;
var __VLS_128;
var __VLS_130 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_131 = __VLS_asFunctionalComponent(__VLS_130, new __VLS_130({
    label: "添加员工",
}));
var __VLS_132 = __VLS_131.apply(void 0, __spreadArray([{
        label: "添加员工",
    }], __VLS_functionalComponentArgsRest(__VLS_131), false));
var __VLS_134 = __VLS_133.slots.default;
var __VLS_133;
var __VLS_135 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_136 = __VLS_asFunctionalComponent(__VLS_135, new __VLS_135({
    label: "产品库存",
}));
var __VLS_137 = __VLS_136.apply(void 0, __spreadArray([{
        label: "产品库存",
    }], __VLS_functionalComponentArgsRest(__VLS_136), false));
var __VLS_139 = __VLS_138.slots.default;
var __VLS_138;
var __VLS_123;
var __VLS_118;
var __VLS_140 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_141 = __VLS_asFunctionalComponent(__VLS_140, new __VLS_140({
    label: "收银操作",
}));
var __VLS_142 = __VLS_141.apply(void 0, __spreadArray([{
        label: "收银操作",
    }], __VLS_functionalComponentArgsRest(__VLS_141), false));
var __VLS_144 = __VLS_143.slots.default;
var __VLS_145 = {}.ElCheckboxGroup;
/** @type {[typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, ]} */ ;
// @ts-ignore
ElCheckboxGroup;
// @ts-ignore
var __VLS_146 = __VLS_asFunctionalComponent(__VLS_145, new __VLS_145({
    modelValue: (__VLS_ctx.form.permissions.cashier),
}));
var __VLS_147 = __VLS_146.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.cashier),
    }], __VLS_functionalComponentArgsRest(__VLS_146), false));
var __VLS_149 = __VLS_148.slots.default;
// @ts-ignore
[form,];
var __VLS_150 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_151 = __VLS_asFunctionalComponent(__VLS_150, new __VLS_150({
    label: "新建政策",
}));
var __VLS_152 = __VLS_151.apply(void 0, __spreadArray([{
        label: "新建政策",
    }], __VLS_functionalComponentArgsRest(__VLS_151), false));
var __VLS_154 = __VLS_153.slots.default;
var __VLS_153;
var __VLS_155 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_156 = __VLS_asFunctionalComponent(__VLS_155, new __VLS_155({
    label: "新增收款单",
}));
var __VLS_157 = __VLS_156.apply(void 0, __spreadArray([{
        label: "新增收款单",
    }], __VLS_functionalComponentArgsRest(__VLS_156), false));
var __VLS_159 = __VLS_158.slots.default;
var __VLS_158;
var __VLS_160 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_161 = __VLS_asFunctionalComponent(__VLS_160, new __VLS_160({
    label: "新增销售单",
}));
var __VLS_162 = __VLS_161.apply(void 0, __spreadArray([{
        label: "新增销售单",
    }], __VLS_functionalComponentArgsRest(__VLS_161), false));
var __VLS_164 = __VLS_163.slots.default;
var __VLS_163;
var __VLS_165 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_166 = __VLS_asFunctionalComponent(__VLS_165, new __VLS_165({
    label: "当日订单",
}));
var __VLS_167 = __VLS_166.apply(void 0, __spreadArray([{
        label: "当日订单",
    }], __VLS_functionalComponentArgsRest(__VLS_166), false));
var __VLS_169 = __VLS_168.slots.default;
var __VLS_168;
var __VLS_170 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_171 = __VLS_asFunctionalComponent(__VLS_170, new __VLS_170({
    label: "换货单",
}));
var __VLS_172 = __VLS_171.apply(void 0, __spreadArray([{
        label: "换货单",
    }], __VLS_functionalComponentArgsRest(__VLS_171), false));
var __VLS_174 = __VLS_173.slots.default;
var __VLS_173;
var __VLS_175 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_176 = __VLS_asFunctionalComponent(__VLS_175, new __VLS_175({
    label: "退货单",
}));
var __VLS_177 = __VLS_176.apply(void 0, __spreadArray([{
        label: "退货单",
    }], __VLS_functionalComponentArgsRest(__VLS_176), false));
var __VLS_179 = __VLS_178.slots.default;
var __VLS_178;
var __VLS_148;
var __VLS_143;
var __VLS_180 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_181 = __VLS_asFunctionalComponent(__VLS_180, new __VLS_180({
    label: "数据统计",
}));
var __VLS_182 = __VLS_181.apply(void 0, __spreadArray([{
        label: "数据统计",
    }], __VLS_functionalComponentArgsRest(__VLS_181), false));
var __VLS_184 = __VLS_183.slots.default;
var __VLS_185 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_186 = __VLS_asFunctionalComponent(__VLS_185, new __VLS_185({
    modelValue: (__VLS_ctx.form.permissions.dataStats),
    label: "数据统计",
}));
var __VLS_187 = __VLS_186.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.dataStats),
        label: "数据统计",
    }], __VLS_functionalComponentArgsRest(__VLS_186), false));
// @ts-ignore
[form,];
var __VLS_183;
var __VLS_190 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_191 = __VLS_asFunctionalComponent(__VLS_190, new __VLS_190({
    label: "美容院管理",
}));
var __VLS_192 = __VLS_191.apply(void 0, __spreadArray([{
        label: "美容院管理",
    }], __VLS_functionalComponentArgsRest(__VLS_191), false));
var __VLS_194 = __VLS_193.slots.default;
var __VLS_195 = {}.ElCheckboxGroup;
/** @type {[typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, ]} */ ;
// @ts-ignore
ElCheckboxGroup;
// @ts-ignore
var __VLS_196 = __VLS_asFunctionalComponent(__VLS_195, new __VLS_195({
    modelValue: (__VLS_ctx.form.permissions.salon),
}));
var __VLS_197 = __VLS_196.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.salon),
    }], __VLS_functionalComponentArgsRest(__VLS_196), false));
var __VLS_199 = __VLS_198.slots.default;
// @ts-ignore
[form,];
var __VLS_200 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_201 = __VLS_asFunctionalComponent(__VLS_200, new __VLS_200({
    label: "新建门店",
}));
var __VLS_202 = __VLS_201.apply(void 0, __spreadArray([{
        label: "新建门店",
    }], __VLS_functionalComponentArgsRest(__VLS_201), false));
var __VLS_204 = __VLS_203.slots.default;
var __VLS_203;
var __VLS_205 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_206 = __VLS_asFunctionalComponent(__VLS_205, new __VLS_205({
    label: "门店期初",
}));
var __VLS_207 = __VLS_206.apply(void 0, __spreadArray([{
        label: "门店期初",
    }], __VLS_functionalComponentArgsRest(__VLS_206), false));
var __VLS_209 = __VLS_208.slots.default;
var __VLS_208;
var __VLS_210 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_211 = __VLS_asFunctionalComponent(__VLS_210, new __VLS_210({
    label: "门店列表",
}));
var __VLS_212 = __VLS_211.apply(void 0, __spreadArray([{
        label: "门店列表",
    }], __VLS_functionalComponentArgsRest(__VLS_211), false));
var __VLS_214 = __VLS_213.slots.default;
var __VLS_213;
var __VLS_215 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_216 = __VLS_asFunctionalComponent(__VLS_215, new __VLS_215({
    label: "资金账户",
}));
var __VLS_217 = __VLS_216.apply(void 0, __spreadArray([{
        label: "资金账户",
    }], __VLS_functionalComponentArgsRest(__VLS_216), false));
var __VLS_219 = __VLS_218.slots.default;
var __VLS_218;
var __VLS_220 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_221 = __VLS_asFunctionalComponent(__VLS_220, new __VLS_220({
    label: "门店对账",
}));
var __VLS_222 = __VLS_221.apply(void 0, __spreadArray([{
        label: "门店对账",
    }], __VLS_functionalComponentArgsRest(__VLS_221), false));
var __VLS_224 = __VLS_223.slots.default;
var __VLS_223;
var __VLS_198;
var __VLS_193;
var __VLS_225 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_226 = __VLS_asFunctionalComponent(__VLS_225, new __VLS_225({
    label: "产品管理",
}));
var __VLS_227 = __VLS_226.apply(void 0, __spreadArray([{
        label: "产品管理",
    }], __VLS_functionalComponentArgsRest(__VLS_226), false));
var __VLS_229 = __VLS_228.slots.default;
var __VLS_230 = {}.ElCheckboxGroup;
/** @type {[typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, ]} */ ;
// @ts-ignore
ElCheckboxGroup;
// @ts-ignore
var __VLS_231 = __VLS_asFunctionalComponent(__VLS_230, new __VLS_230({
    modelValue: (__VLS_ctx.form.permissions.product),
}));
var __VLS_232 = __VLS_231.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.product),
    }], __VLS_functionalComponentArgsRest(__VLS_231), false));
var __VLS_234 = __VLS_233.slots.default;
// @ts-ignore
[form,];
var __VLS_235 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_236 = __VLS_asFunctionalComponent(__VLS_235, new __VLS_235({
    label: "品牌管理",
}));
var __VLS_237 = __VLS_236.apply(void 0, __spreadArray([{
        label: "品牌管理",
    }], __VLS_functionalComponentArgsRest(__VLS_236), false));
var __VLS_239 = __VLS_238.slots.default;
var __VLS_238;
var __VLS_240 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_241 = __VLS_asFunctionalComponent(__VLS_240, new __VLS_240({
    label: "新增产品",
}));
var __VLS_242 = __VLS_241.apply(void 0, __spreadArray([{
        label: "新增产品",
    }], __VLS_functionalComponentArgsRest(__VLS_241), false));
var __VLS_244 = __VLS_243.slots.default;
var __VLS_243;
var __VLS_245 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_246 = __VLS_asFunctionalComponent(__VLS_245, new __VLS_245({
    label: "库存管理",
}));
var __VLS_247 = __VLS_246.apply(void 0, __spreadArray([{
        label: "库存管理",
    }], __VLS_functionalComponentArgsRest(__VLS_246), false));
var __VLS_249 = __VLS_248.slots.default;
var __VLS_248;
var __VLS_250 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_251 = __VLS_asFunctionalComponent(__VLS_250, new __VLS_250({
    label: "入库单",
}));
var __VLS_252 = __VLS_251.apply(void 0, __spreadArray([{
        label: "入库单",
    }], __VLS_functionalComponentArgsRest(__VLS_251), false));
var __VLS_254 = __VLS_253.slots.default;
var __VLS_253;
var __VLS_255 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_256 = __VLS_asFunctionalComponent(__VLS_255, new __VLS_255({
    label: "新增盘点",
}));
var __VLS_257 = __VLS_256.apply(void 0, __spreadArray([{
        label: "新增盘点",
    }], __VLS_functionalComponentArgsRest(__VLS_256), false));
var __VLS_259 = __VLS_258.slots.default;
var __VLS_258;
var __VLS_260 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_261 = __VLS_asFunctionalComponent(__VLS_260, new __VLS_260({
    label: "报损报溢",
}));
var __VLS_262 = __VLS_261.apply(void 0, __spreadArray([{
        label: "报损报溢",
    }], __VLS_functionalComponentArgsRest(__VLS_261), false));
var __VLS_264 = __VLS_263.slots.default;
var __VLS_263;
var __VLS_233;
var __VLS_228;
var __VLS_265 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_266 = __VLS_asFunctionalComponent(__VLS_265, new __VLS_265({
    label: "工厂管理",
}));
var __VLS_267 = __VLS_266.apply(void 0, __spreadArray([{
        label: "工厂管理",
    }], __VLS_functionalComponentArgsRest(__VLS_266), false));
var __VLS_269 = __VLS_268.slots.default;
var __VLS_270 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_271 = __VLS_asFunctionalComponent(__VLS_270, new __VLS_270({
    modelValue: (__VLS_ctx.form.permissions.factory),
    label: "工厂管理",
}));
var __VLS_272 = __VLS_271.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.factory),
        label: "工厂管理",
    }], __VLS_functionalComponentArgsRest(__VLS_271), false));
// @ts-ignore
[form,];
var __VLS_268;
var __VLS_275 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_276 = __VLS_asFunctionalComponent(__VLS_275, new __VLS_275({
    label: "仓库管理",
}));
var __VLS_277 = __VLS_276.apply(void 0, __spreadArray([{
        label: "仓库管理",
    }], __VLS_functionalComponentArgsRest(__VLS_276), false));
var __VLS_279 = __VLS_278.slots.default;
var __VLS_280 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_281 = __VLS_asFunctionalComponent(__VLS_280, new __VLS_280({
    modelValue: (__VLS_ctx.form.permissions.warehouse),
    label: "仓库管理",
}));
var __VLS_282 = __VLS_281.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.warehouse),
        label: "仓库管理",
    }], __VLS_functionalComponentArgsRest(__VLS_281), false));
// @ts-ignore
[form,];
var __VLS_278;
var __VLS_285 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_286 = __VLS_asFunctionalComponent(__VLS_285, new __VLS_285({
    label: "小程序管理",
}));
var __VLS_287 = __VLS_286.apply(void 0, __spreadArray([{
        label: "小程序管理",
    }], __VLS_functionalComponentArgsRest(__VLS_286), false));
var __VLS_289 = __VLS_288.slots.default;
var __VLS_290 = {}.ElCheckboxGroup;
/** @type {[typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, ]} */ ;
// @ts-ignore
ElCheckboxGroup;
// @ts-ignore
var __VLS_291 = __VLS_asFunctionalComponent(__VLS_290, new __VLS_290({
    modelValue: (__VLS_ctx.form.permissions.miniProgram),
}));
var __VLS_292 = __VLS_291.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.miniProgram),
    }], __VLS_functionalComponentArgsRest(__VLS_291), false));
var __VLS_294 = __VLS_293.slots.default;
// @ts-ignore
[form,];
var __VLS_295 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_296 = __VLS_asFunctionalComponent(__VLS_295, new __VLS_295({
    label: "门店账号",
}));
var __VLS_297 = __VLS_296.apply(void 0, __spreadArray([{
        label: "门店账号",
    }], __VLS_functionalComponentArgsRest(__VLS_296), false));
var __VLS_299 = __VLS_298.slots.default;
var __VLS_298;
var __VLS_300 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_301 = __VLS_asFunctionalComponent(__VLS_300, new __VLS_300({
    label: "店铺装修",
}));
var __VLS_302 = __VLS_301.apply(void 0, __spreadArray([{
        label: "店铺装修",
    }], __VLS_functionalComponentArgsRest(__VLS_301), false));
var __VLS_304 = __VLS_303.slots.default;
var __VLS_303;
var __VLS_305 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_306 = __VLS_asFunctionalComponent(__VLS_305, new __VLS_305({
    label: "直播管理",
}));
var __VLS_307 = __VLS_306.apply(void 0, __spreadArray([{
        label: "直播管理",
    }], __VLS_functionalComponentArgsRest(__VLS_306), false));
var __VLS_309 = __VLS_308.slots.default;
var __VLS_308;
var __VLS_310 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_311 = __VLS_asFunctionalComponent(__VLS_310, new __VLS_310({
    label: "宣传素材",
}));
var __VLS_312 = __VLS_311.apply(void 0, __spreadArray([{
        label: "宣传素材",
    }], __VLS_functionalComponentArgsRest(__VLS_311), false));
var __VLS_314 = __VLS_313.slots.default;
var __VLS_313;
var __VLS_315 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_316 = __VLS_asFunctionalComponent(__VLS_315, new __VLS_315({
    label: "申请记录",
}));
var __VLS_317 = __VLS_316.apply(void 0, __spreadArray([{
        label: "申请记录",
    }], __VLS_functionalComponentArgsRest(__VLS_316), false));
var __VLS_319 = __VLS_318.slots.default;
var __VLS_318;
var __VLS_293;
var __VLS_288;
var __VLS_320 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_321 = __VLS_asFunctionalComponent(__VLS_320, new __VLS_320({
    label: "商品管理",
}));
var __VLS_322 = __VLS_321.apply(void 0, __spreadArray([{
        label: "商品管理",
    }], __VLS_functionalComponentArgsRest(__VLS_321), false));
var __VLS_324 = __VLS_323.slots.default;
var __VLS_325 = {}.ElCheckboxGroup;
/** @type {[typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, typeof __VLS_components.ElCheckboxGroup, typeof __VLS_components.elCheckboxGroup, ]} */ ;
// @ts-ignore
ElCheckboxGroup;
// @ts-ignore
var __VLS_326 = __VLS_asFunctionalComponent(__VLS_325, new __VLS_325({
    modelValue: (__VLS_ctx.form.permissions.goods),
}));
var __VLS_327 = __VLS_326.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.form.permissions.goods),
    }], __VLS_functionalComponentArgsRest(__VLS_326), false));
var __VLS_329 = __VLS_328.slots.default;
// @ts-ignore
[form,];
var __VLS_330 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_331 = __VLS_asFunctionalComponent(__VLS_330, new __VLS_330({
    label: "商品管理",
}));
var __VLS_332 = __VLS_331.apply(void 0, __spreadArray([{
        label: "商品管理",
    }], __VLS_functionalComponentArgsRest(__VLS_331), false));
var __VLS_334 = __VLS_333.slots.default;
var __VLS_333;
var __VLS_335 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_336 = __VLS_asFunctionalComponent(__VLS_335, new __VLS_335({
    label: "管理视角",
}));
var __VLS_337 = __VLS_336.apply(void 0, __spreadArray([{
        label: "管理视角",
    }], __VLS_functionalComponentArgsRest(__VLS_336), false));
var __VLS_339 = __VLS_338.slots.default;
var __VLS_338;
var __VLS_328;
var __VLS_323;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "dialog-footer" }));
var __VLS_340 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_341 = __VLS_asFunctionalComponent(__VLS_340, new __VLS_340(__assign({ 'onClick': {} })));
var __VLS_342 = __VLS_341.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_341), false));
var __VLS_344;
var __VLS_345;
var __VLS_346 = ({ click: {} },
    { onClick: function () {
            var _a = [];
            for (var _i = 0; _i < arguments.length; _i++) {
                _a[_i] = arguments[_i];
            }
            var $event = _a[0];
            __VLS_ctx.isEditDialog = false;
            // @ts-ignore
            [isEditDialog,];
        } });
var __VLS_347 = __VLS_343.slots.default;
var __VLS_343;
var __VLS_348 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_349 = __VLS_asFunctionalComponent(__VLS_348, new __VLS_348(__assign({ 'onClick': {} }, { type: "primary" })));
var __VLS_350 = __VLS_349.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_349), false));
var __VLS_352;
var __VLS_353;
var __VLS_354 = ({ click: {} },
    { onClick: (__VLS_ctx.submitForm) });
var __VLS_355 = __VLS_351.slots.default;
// @ts-ignore
[submitForm,];
var __VLS_351;
var __VLS_8;
var __VLS_3;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "list-page" }));
__VLS_asFunctionalElement(__VLS_elements.h3, __VLS_elements.h3)(__assign({ class: "page-title" }));
var __VLS_356 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_357 = __VLS_asFunctionalComponent(__VLS_356, new __VLS_356(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_358 = __VLS_357.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_357), false));
var __VLS_360;
var __VLS_361;
var __VLS_362 = ({ click: {} },
    { onClick: (__VLS_ctx.openAddDialog) });
var __VLS_363 = __VLS_359.slots.default;
// @ts-ignore
[openAddDialog,];
var __VLS_359;
var __VLS_364 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_365 = __VLS_asFunctionalComponent(__VLS_364, new __VLS_364(__assign({ data: (__VLS_ctx.operatorList), border: true }, { style: {} })));
var __VLS_366 = __VLS_365.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.operatorList), border: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_365), false));
var __VLS_368 = __VLS_367.slots.default;
// @ts-ignore
[operatorList,];
var __VLS_369 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_370 = __VLS_asFunctionalComponent(__VLS_369, new __VLS_369({
    prop: "index",
    label: "序号",
    width: "100",
    center: true,
}));
var __VLS_371 = __VLS_370.apply(void 0, __spreadArray([{
        prop: "index",
        label: "序号",
        width: "100",
        center: true,
    }], __VLS_functionalComponentArgsRest(__VLS_370), false));
var __VLS_374 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_375 = __VLS_asFunctionalComponent(__VLS_374, new __VLS_374({
    prop: "name",
    label: "姓名",
}));
var __VLS_376 = __VLS_375.apply(void 0, __spreadArray([{
        prop: "name",
        label: "姓名",
    }], __VLS_functionalComponentArgsRest(__VLS_375), false));
var __VLS_379 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_380 = __VLS_asFunctionalComponent(__VLS_379, new __VLS_379({
    prop: "gender",
    label: "性别",
}));
var __VLS_381 = __VLS_380.apply(void 0, __spreadArray([{
        prop: "gender",
        label: "性别",
    }], __VLS_functionalComponentArgsRest(__VLS_380), false));
var __VLS_384 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_385 = __VLS_asFunctionalComponent(__VLS_384, new __VLS_384({
    prop: "idCard",
    label: "身份证号",
}));
var __VLS_386 = __VLS_385.apply(void 0, __spreadArray([{
        prop: "idCard",
        label: "身份证号",
    }], __VLS_functionalComponentArgsRest(__VLS_385), false));
var __VLS_389 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_390 = __VLS_asFunctionalComponent(__VLS_389, new __VLS_389({
    prop: "position",
    label: "职务",
}));
var __VLS_391 = __VLS_390.apply(void 0, __spreadArray([{
        prop: "position",
        label: "职务",
    }], __VLS_functionalComponentArgsRest(__VLS_390), false));
var __VLS_394 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_395 = __VLS_asFunctionalComponent(__VLS_394, new __VLS_394({
    prop: "phone",
    label: "手机号",
}));
var __VLS_396 = __VLS_395.apply(void 0, __spreadArray([{
        prop: "phone",
        label: "手机号",
    }], __VLS_functionalComponentArgsRest(__VLS_395), false));
var __VLS_399 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_400 = __VLS_asFunctionalComponent(__VLS_399, new __VLS_399({
    prop: "account",
    label: "账号",
}));
var __VLS_401 = __VLS_400.apply(void 0, __spreadArray([{
        prop: "account",
        label: "账号",
    }], __VLS_functionalComponentArgsRest(__VLS_400), false));
var __VLS_404 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_405 = __VLS_asFunctionalComponent(__VLS_404, new __VLS_404({
    prop: "password",
    label: "密码",
}));
var __VLS_406 = __VLS_405.apply(void 0, __spreadArray([{
        prop: "password",
        label: "密码",
    }], __VLS_functionalComponentArgsRest(__VLS_405), false));
var __VLS_409 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_410 = __VLS_asFunctionalComponent(__VLS_409, new __VLS_409({
    label: "权限",
}));
var __VLS_411 = __VLS_410.apply(void 0, __spreadArray([{
        label: "权限",
    }], __VLS_functionalComponentArgsRest(__VLS_410), false));
var __VLS_413 = __VLS_412.slots.default;
{
    var __VLS_414 = __VLS_412.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_414)[0];
    (__VLS_ctx.formatPermissions(scope.row.permissions));
    // @ts-ignore
    [formatPermissions,];
}
var __VLS_412;
var __VLS_415 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_416 = __VLS_asFunctionalComponent(__VLS_415, new __VLS_415({
    label: "操作",
}));
var __VLS_417 = __VLS_416.apply(void 0, __spreadArray([{
        label: "操作",
    }], __VLS_functionalComponentArgsRest(__VLS_416), false));
var __VLS_419 = __VLS_418.slots.default;
{
    var __VLS_420 = __VLS_418.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_420)[0];
    var __VLS_421 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_422 = __VLS_asFunctionalComponent(__VLS_421, new __VLS_421(__assign({ 'onClick': {} }, { type: "warning" })));
    var __VLS_423 = __VLS_422.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "warning" })], __VLS_functionalComponentArgsRest(__VLS_422), false));
    var __VLS_425 = void 0;
    var __VLS_426 = void 0;
    var __VLS_427 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.openEditDialog(scope_1.row);
                // @ts-ignore
                [openEditDialog,];
            } });
    var __VLS_428 = __VLS_424.slots.default;
    var __VLS_424;
    var __VLS_429 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_430 = __VLS_asFunctionalComponent(__VLS_429, new __VLS_429(__assign({ 'onClick': {} }, { type: "danger" })));
    var __VLS_431 = __VLS_430.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger" })], __VLS_functionalComponentArgsRest(__VLS_430), false));
    var __VLS_433 = void 0;
    var __VLS_434 = void 0;
    var __VLS_435 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleDelete(scope_1.row);
                // @ts-ignore
                [handleDelete,];
            } });
    var __VLS_436 = __VLS_432.slots.default;
    var __VLS_432;
}
var __VLS_418;
var __VLS_367;
/** @type {__VLS_StyleScopedClasses['operator-management']} */ ;
/** @type {__VLS_StyleScopedClasses['edit-form']} */ ;
/** @type {__VLS_StyleScopedClasses['permission-group']} */ ;
/** @type {__VLS_StyleScopedClasses['dialog-footer']} */ ;
/** @type {__VLS_StyleScopedClasses['list-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-title']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
